package com.mew.chess.core.game.dyj.game.message;

import com.zebra.common.ByteBufUtils;
import io.netty.buffer.ByteBuf;
import lombok.*;

/**
 * @author dylin
 * @create 2021/5/6
 */
@Data
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PaymentMessage {
    private long uid;
    private long payment;
    public void write(ByteBuf b){
        ByteBufUtils.writeLong(b,uid);
        ByteBufUtils.writeLong(b,payment);
    }
}
